<div class = "main-view">

    <div class="left-margin top-margin"><strong class="am-text-primary am-text-lg">同步小区大使业绩信息</strong></div>
    <br>
    <script>

        var fromDate = $('#startDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.startDateSelect = ev.date.format('yyyy-MM-dd');
            $("#startDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var fromDateSel = $('#fromDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.fromDateSelect = ev.date.format('yyyy-MM-dd');
            $("#fromDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var toDateSel = $('#toDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.toDateSelect = ev.date.format('yyyy-MM-dd');
            $("#toDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var roughFromDateSelectTemp = $('#roughFromDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.roughFromDateSelect = ev.date.format('yyyy-MM-dd');
            $("#roughFromDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var roughToDateSelectTemp = $('#roughToDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.roughToDateSelect = ev.date.format('yyyy-MM-dd');
            $("#roughToDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var checkFromDateSelectTemp = $('#checkFromDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.checkFromDateSelect = ev.date.format('yyyy-MM-dd');
            $("#checkFromDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var checkToDateSelectTemp = $('#checkToDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.checkToDateSelect = ev.date.format('yyyy-MM-dd');
            $("#checkToDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var actuaryFromDateSelectTemp = $('#actuaryFromDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.actuaryFromDateSelect = ev.date.format('yyyy-MM-dd');
            $("#actuaryFromDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var actuaryToDateSelectTemp = $('#actuaryToDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.actuaryToDateSelect = ev.date.format('yyyy-MM-dd');
            $("#actuaryToDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var refundFromDateSelectTemp = $('#refundFromDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.refundFromDateSelect = ev.date.format('yyyy-MM-dd');
            $("#refundFromDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

        var refundToDateSelectTemp = $('#refundToDateSelect').datepicker().on('changeDate', function (ev) {
            $scope.refundToDateSelect = ev.date.format('yyyy-MM-dd');
            $("#refundToDateSelect").val(ev.date.format('yyyy-MM-dd'));
        });

    </script>

    <!-- 注释
    <form class="am-form-inline left-margin top-margin" role="form">

        <label class="left-margin">日期:</label>
        <input type="text" id="startDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

    </form>

    <br>
    <button id="submitModeratorManagerInfoData" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="exportModeratorManagerDataInfo1()">同步小区大使业绩信息</button>
    -->

    <form class="am-form-inline left-margin top-margin" role="form">

        <label class="left-margin">开始日期:</label>
        <input type="text" id="fromDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

        <label class="left-margin">结束日期:</label>
        <input type="text" id="toDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

    </form>
    <br>
    <button id="submitModeratorManagerInfoDataByFromTo" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="exportModeratorManagerDataInfo2()">开始结束日期同步小区大使业绩信息</button>

    <!-- 注释
        <form class="am-form-inline left-margin top-margin" role="form">

            <label class="left-margin">粗算开始日期:</label>
            <input type="text" id="roughFromDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

            <label class="left-margin">粗算结束日期:</label>
            <input type="text" id="roughToDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

        </form>

        <br>
        <button id="submitModeratorManagerInfoDataByFromToRough" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
                ng-click="exportModeratorManagerDataInfoRough()">粗算大使业绩信息</button>
    -->

        <form class="am-form-inline left-margin top-margin" role="form">

            <label class="left-margin">复核开始日期:</label>
            <input type="text" id="checkFromDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

            <label class="left-margin">复核结束日期:</label>
            <input type="text" id="checkToDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

        </form>

        <br>
        <button id="submitModeratorManagerInfoDataByFromToCheck" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
                ng-click="exportModeratorManagerDataInfoCheck()">复核大使业绩信息</button>

        <form class="am-form-inline left-margin top-margin" role="form">

            <label class="left-margin">精算开始日期:</label>
            <input type="text" id="actuaryFromDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

            <label class="left-margin">精算结束日期:</label>
            <input type="text" id="actuaryToDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

        </form>

        <br>
        <button id="submitModeratorManagerInfoDataByFromToActuary" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
                ng-click="exportModeratorManagerDataInfoActuary()">精算大使业绩信息</button>



    <form class="am-form-inline left-margin top-margin" role="form">

        <label class="left-margin">退款开始日期:</label>
        <input type="text" id="refundFromDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

        <label class="left-margin">退款结束日期:</label>
        <input type="text" id="refundToDateSelect" class="modal-input" size="16" data-date-format="yyyy-mm-dd">

    </form>

    <br>
    <button id="submitRefundStatusFor66ByFromTo" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="exportRefundStatusFor66()">66订单退款状态信息</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">1:时间段访问;2:一直允许访问;3:禁止访问;</label>
    </form>
    <br>
    <button id="getCommissionH5FlagId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="getCommissionH5Flag()">取得当前h5页面系统维护标示符</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">h5页面系统维护:</label>
        <!--<select ng-model="selectedCommissionH5Flag">-->
            <!--<option ng-repeat="x in commissionH5Flags" value="{{x.key}}">{{x.value}}</option>-->
        <!--</select>-->
        <input type="text" id="selectedCommissionH5Flag" class="modal-input" size="1">
    </form>
    <br>
    <button id="setCommissionH5FlagId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="setCommissionH5Flag()">设定当前h5页面系统维护标示符</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">1:所有人可以访问;2:仅白名单人员可以访问;</label>
    </form>
    <br>
    <button id="getCommissionH5UserFlagId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="getCommissionH5UserFlag()">取得部分人访问标示符</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">部分人访问标示符:</label>
        <input type="text" id="selectedCommissionH5UserFlag" class="modal-input" size="1">
    </form>
    <br>
    <button id="setCommissionH5UserFlagId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="setCommissionH5UserFlag()">设定部分人访问标示符</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">用户ID(单个):</label>
        <input type="text" id="currentUserId" class="modal-input" size="50">
    </form>
    <br>
    <button id="isAllowCommissionH5UserId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="isAllowCommissionH5User()">取得当前人是否在白名单中</button>

    <button id="addAllowCommissionH5UserId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="addAllowCommissionH5User()">追加当前人到白名单中</button>

    <button id="removeAllowCommissionH5UserId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="removeAllowCommissionH5User()">从白名单中删除当前人</button>

    <form class="am-form-inline left-margin top-margin" role="form">

    </form>
    <br>

    <button id="getAllAllowCommissionH5UserId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="getAllAllowCommissionH5User()">取得白名单中所有人</button>

    <button id="clearAllowCommissionH5UserId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="clearAllowCommissionH5User()">从白名单中删除所有人</button>

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">多个用户ID(用,分割):</label>
        <input type="text" id="currentUserIdList" class="modal-input" size="50">
    </form>
    <br>
    <button id="isAllowCommissionH5UserIdList" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="isAllowCommissionH5UserList()">取得多个人是否在白名单中</button>

    <!--
    <button id="addAllowCommissionH5UserIdList" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="addAllowCommissionH5UserList()">追加多个人到白名单中</button>

    <button id="removeAllowCommissionH5UserIdList" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="removeAllowCommissionH5UserList()">从白名单中删除多个人</button>

    <form class="am-form-inline left-margin top-margin" role="form">

    </form>
    -->

    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">手机号:</label>
        <input type="text" id="mobilePhone" class="modal-input" size="20">
        <label class="left-margin">类型:</label>
        <select ng-model="selectedType">
            <option ng-repeat="x in types" value="{{x.type}}">{{x.name}}</option>
        </select>
    </form>
    <br>
    <button id="getSmsVerificationCodeId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="getSmsVerificationCode()">取得手机号对应验证码</button>

    <br>
    <form class="am-form-inline left-margin top-margin" role="form">
        <label class="left-margin">redis的key:</label>
        <input type="text" id="redisKey" class="modal-input" size="50">
    </form>
    <br>
    <button id="getRedisValueByKeyId" type="submit" class="am-btn am-btn-primary" style="margin-left: 30px"
            ng-click="getRedisValueByKey()">根据redis的key取得redis值</button>

    <br>
    <div class="alert" style="background: black;opacity: 0.2;position: fixed;top: 0;left: 0;right: 0;bottom:0;display: none ">
        <div class="mian" style="width: 50px;height: 200px;color: white;margin: 20% auto"><img src="../../img/jiazai.gif"></div>
    </div>
</div>